<template>
  <div class="common-layout">
      <el-container class="lay-container">
          <common-aside></common-aside>
          <el-container class="r-container">
              <common-header/>
              <el-main>
                  <router-view ></router-view>
              </el-main>
          </el-container>
      </el-container>
  </div>
</template>

<script>
import {defineComponent} from "vue"
import CommonHeader from "../components/CommentHeader.vue";
import CommonAside from "../components/CommentAside.vue";

export default defineComponent({
  components:{
      CommonHeader,
      CommonAside,
  },
});
</script>

<style lang="less" scoped>
  .el-container{
      flex-wrap: wrap;
      align-items: flex-start;
      height: 100%;
  }
  .common-layout{
      .lay-container{
          flex-wrap: nowrap;
          .right-main{
              height: calc(100% - 0px) !important;
          }
      }
      height: 100%;
      &>.el-container{
          height: 100%;
          &>.el-aside{
              height: 100%;
              background: #545c64;
          }
      }
  }

</style>
